//class Back

    export  class Back
    {
       

        public static easeIn(arg1: number, arg2: number, arg3: number, arg4: number, arg5: number=1.70158): number
        {
            var loc1;
            arg1 = loc1 = arg1 / arg4;
            return arg3 * loc1 * arg1 * ((arg5 + 1) * arg1 - arg5) + arg2;
        }

        public static easeOut(arg1: number, arg2: number, arg3: number, arg4: number, arg5: number=1.70158): number
        {
            var loc1;
            arg1 = loc1 = (arg1 / arg4 - 1);
            return arg3 * (loc1 * arg1 * ((arg5 + 1) * arg1 + arg5) + 1) + arg2;
        }

        public static easeInOut(arg1: number, arg2: number, arg3: number, arg4: number, arg5: number=1.70158): number
        {
            var loc1;
            arg1 = loc1 = arg1 / (arg4 * 0.5);
            if (loc1 < 1) 
            {
                arg5 = loc1 = arg5 * 1.525;
                return arg3 * 0.5 * arg1 * arg1 * ((loc1 + 1) * arg1 - arg5) + arg2;
            }
            arg1 = loc1 = arg1 - 2;
            arg5 = loc1 = arg5 * 1.525;
            return arg3 / 2 * (loc1 * arg1 * ((loc1 + 1) * arg1 + arg5) + 2) + arg2;
        }
    }
